<?php
/**
 * Created by PhpStorm.
 * User: yellow
 * Date: 2019/6/25
 * Time: 14:10
 */

namespace app\common\model;


use think\Model;

class WishLogs extends Model
{
    public function wish(){
        return $this->hasOne('wish', 'id', 'wish_id')->bind([
            'title'=>'title',
            'realname'=>'realname'
        ]);
    }
}